import dayjs from 'dayjs'
export default [
  {
    title: '',
    key: 'tags',
    width: '180px',
    align: 'center'
  },
  {
    title: 'Organization',
    dataIndex: 'clientOrganizationName'
  },
  {
    title: 'Client Name',
    dataIndex: 'fullName',
    key: 'fullName',
    sorter: true
  },
  {
    title: 'Abbreviation',
    dataIndex: 'shortName',
    key: 'shortName',
    sorter: true
  },
  {
    title: 'Country/Region',
    dataIndex: 'countryID',
    key: 'countryID'
  },
  {
    title: 'Status',
    dataIndex: 'status',
    key: 'status',
    width: 130
  },
  {
    title: 'Owner',
    dataIndex: 'displayName',
    key: 'displayName'
  },
  {
    title: 'Create On',
    dataIndex: 'createOn',
    key: 'createOn',
    sorter: true,
    width: 130,
    customRender: ({ text }) => dayjs(text).format('YYYY-MM-DD')
  },
  {
    title: 'Expiry Date',
    dataIndex: 'expiryDate',
    key: 'expiryDate',
    sorter: true,
    width: 130,
    customRender: ({ text }) => dayjs(text).format('YYYY-MM-DD')
  }
]
